/* 个人中心页面容器 */
.profile-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 个人中心布局 */
.profile-layout {
  display: flex;
  flex: 1;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* 左侧菜单区域 */
.profile-sidebar {
  width: 250px;
  min-width: 250px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

/* 左侧菜单标题 */
.profile-sidebar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

/* 菜单项容器 */
.profile-menu {
  padding: 0;
}

/* 菜单项 */
.profile-menu-item {
  border-radius: 6px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.profile-menu-item:hover {
  background-color: #f5f5f5;
}

.profile-menu-item.active {
  background-color: #e3f2fd;
}

.profile-menu-item.active .profile-menu-item-text {
  color: #1976d2;
  font-weight: 500;
}

/* 菜单项图标 */
.profile-menu-item-icon {
  margin-right: 1rem;
  color: #666;
}

.profile-menu-item.active .profile-menu-item-icon {
  color: #1976d2;
}

/* 菜单项文本 */
.profile-menu-item-text {
  font-size: 1rem;
  color: #333;
}

/* 菜单分隔线 */
.profile-menu-divider {
  margin: 0.5rem 0;
  background-color: #f0f0f0;
}

/* 右侧内容区域 */
.profile-content {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

/* 内容区域标题 */
.profile-content-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

/* 内容区域主体 */
.profile-content-body {
  padding-top: 1rem;
}

/* 加载状态样式 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  color: #666;
}

/* 空状态样式 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  text-align: center;
}

/* 资产卡片样式 */
.asset-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 资产图片 */
.asset-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* 资产图片占位符 */
.asset-image-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

/* 响应式设计 */
@media (max-width: 960px) {
  .profile-layout {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .profile-sidebar {
    width: 100%;
    min-width: unset;
    position: static;
    top: unset;
  }

  .profile-content {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .profile-layout {
    padding: 0.5rem;
  }

  .profile-sidebar {
    padding: 1rem;
  }

  .profile-content {
    padding: 1rem;
  }

  .profile-content-title {
    font-size: 1.25rem;
  }

  .profile-sidebar-title {
    font-size: 1.1rem;
  }
}